package com.sljy.hzk.entity;

import com.google.gson.Gson;

/**
 * Created  on 2018/7/11 0011
 *
 * @author 唐开阔
 * @describe 根据分区获取的隐患详情
 */
public class DetectionDangerEntity {

    /**
     * harmName : 噪声
     * type : 1
     */

    private String harmId;
    private String harmName;
    private int type;
    private String value1 = "";
    private String value2= "";
    private String value3= "";
    private String min= "";
    private String place= "";

    public String getHarmId() {
        return harmId;
    }

    public void setHarmId(String harmId) {
        this.harmId = harmId;
    }

    public String getValue1() {
        return value1;
    }

    public void setValue1(String value1) {
        this.value1 = value1;
    }

    public String getValue2() {
        return value2;
    }

    public void setValue2(String value2) {
        this.value2 = value2;
    }

    public String getValue3() {
        return value3;
    }

    public void setValue3(String value3) {
        this.value3 = value3;
    }

    public String getMin() {
        return min;
    }

    public void setMin(String min) {
        this.min = min;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getHarmName() {
        return harmName;
    }

    public void setHarmName(String harmName) {
        this.harmName = harmName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        Gson gson = new Gson();

        return gson.toJson(this);
    }
}
